import { INIT_AUTH_HEADER } from '@/shared/constant'

export const setAuthHeader = (token: string) => {
  localStorage.setItem(INIT_AUTH_HEADER, token)
}

export const getAuthHeader = () => {
  return localStorage.getItem(INIT_AUTH_HEADER)
}

export const removeAuthHeader = () => {
  localStorage.removeItem(INIT_AUTH_HEADER)
}
